<%@ Page Language="C#" AutoEventWireup="true" Inherits="Bovespa.Infra.Web.UI.Error" MasterPageFile="~/Shared/Default.master" %>

<asp:Content ID="content" ContentPlaceHolderID="DefaultContent" runat="Server">

<script type="text/javascript">
    function ShowErrorAndRedirect(errorMessage)
    {
        var oWnd = radalert(errorMessage, 450, 150, 'Erro');
       
        oWnd.OnClientClose = function()
        {
           window.setTimeout(function(){window.location.href = "Default.aspx";}, 0);
        }
    }
</script>

</asp:Content>